/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package extension.game.shop;

import com.smartfoxserver.v2.entities.data.SFSObject;

/**
 *
 * @author Hung
 */
public class TypeItem {
    private int kind;
    private String name;
    
    public TypeItem(int kind, String name) {
        this.kind = kind;
        this.name = name;
    }
    
    public SFSObject toSFSObject() {
        SFSObject result = new SFSObject();
        result.putInt("kind", kind);
        result.putUtfString("name", name);
        return result;
    }
}
